package com.jic.market.service.overlay;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.market.entity.overlay.OverlayPromotionInfo;

import java.util.List;

/**
 * 叠加规则活动信息表
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-20 04:52:58
 */
public interface OverlayPromotionInfoService {

    long insert(OverlayPromotionInfo overlayPromotionInfo);

    long delete(String id);

    long update(OverlayPromotionInfo overlayPromotionInfo);

    OverlayPromotionInfo queryByPrimaryKey(Long id);

    List<OverlayPromotionInfo> query(OverlayPromotionInfo overlayPromotionInfo);

    PageResult<OverlayPromotionInfo> queryPage(OverlayPromotionInfo overlayPromotionInfo, Page pageQuery);

}